Skip to content

Conversation

yuanchima
Copy link
Contributor

This pull request addresses a bug in the Example_EditOpenFASTModel.py script where an incorrect variable name was used.
The script previously used TipRadius when the correct variable name for the blade tip radius is TipRad. This could lead to errors or unexpected behavior when the script is executed as part of a test or as an example.

Changes Made:

  • In Example_EditOpenFASTModel.py, the variable name TipRadius has been corrected to TipRad.

This change ensures that the script references the correct variable, allowing the associated test or example to function as intended.

@yuanchima yuanchima changed the title Test Bug Fix, fix variable name for TipRad in Example_EditOpenFASTMod… Fix: Correct variable name from TipRadius to TipRad in Example_EditOpenFASTModel.py May 19, 2025
@ebranlard ebranlard requested review from Copilot and ebranlard October 9, 2025 22:26
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a variable name error in the OpenFAST model editing example script. The script was incorrectly using TipRadius when the proper variable name is TipRad, which could cause runtime errors when executing the example.

Key changes:

  • Corrected variable name from TipRadius to TipRad in the data modification line

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Collaborator

@ebranlard ebranlard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with these changes. I have also fixed them in #63

@ebranlard ebranlard changed the base branch from main to dev October 9, 2025 22:28
@ebranlard ebranlard merged commit 0b92e95 into OpenFAST:dev Oct 9, 2025
5 checks passed
@ebranlard ebranlard mentioned this pull request Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants